/**
 * @Title: BaseActivity.java
 * @Project DCB
 * @Package com.pdw.dcb.ui.activity
 * @Description: Activity基类
 * @author zeng.ww
 * @date 2012-11-23 下午03:43:49
 * @version V1.0
 */
package com.teleca.jamendo.ui;

import android.app.Activity;
import android.os.Bundle;
import android.widget.Toast;

/**
 * Activity基类
 * 
 * @author zeng.ww
 * @since 2012-12-18 下午03:43:49
 * @version 1.0
 */
public class BaseActivity extends Activity {
	public static final int TOAST_STYLE_MSG = 1;
	public static final int TOAST_STYLE_CODE = 2;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);

	}

	@Override
	protected void onResume() {
		super.onResume();
	}

	@Override
	protected void onPause() {
		super.onPause();
	}

	@Override
	protected void onDestroy() {
		super.onDestroy();
	}

	public void toast(String param) {
		Toast.makeText(this, param, Toast.LENGTH_LONG).show();
	}

}
